class_name EquipItem
extends Resource

enum Type {结算,火花,泰坦,破坏,充能,自动,负债}
enum TypeGrowth {成长叠加,普通叠加,普通}

@export_group("介绍信息")
@export var character_name : String
@export_multiline var content : String
@export var avatar : Texture
@export_group("基础信息")
@export var type:Type
@export var type_growth:TypeGrowth

@export var level:int=1
@export var price:float


@export_group("增加当前属性")
@export var attack_damage = 0.0
@export var magic_damage = 0.0
@export var health = 0.0
@export var magic = 0.0
@export var attack_defult = 0.0
@export var magic_defult = 0.0

@export_group("根据当前比例增加属性")
@export var attack_damage_rate = 0.0
@export var magic_damage_rate = 0.0
@export var health_rate = 0.0
@export var magic_rate = 0.0
@export var attack_defult_rate = 0.0
@export var magic_defult_rate = 0.0

@export_group("每完成一个结算节点增加的属性")
@export var attack_damage_growth = 0.0
@export var magic_damage_growth  = 0.0
@export var health_growth  = 0.0
@export var magic_growth  = 0.0
@export var attack_defult_growth  = 0.0
@export var magic_defult_growth  = 0.0
@export var rate_growth  = 0.0
